<%- include('header') %>
<%- include('navbar') %>
<hr>
<div class="container-fluid">
	<div class="row justify-content-md-center">
		<form class="form-horizonal" role="form" method="POST">
			<% if(locals.islogin) { %>
			   用户：<h3> <%= test %></h3>已经登陆。<br>
			   <a class="btn" href="/logout">登出</a>
				<% } else{ %>
			  <div class="input-group mb-3 ">
				  <div class="input-group-prepend">
					<span class="input-group-text">用&nbsp;户&nbsp;名：</span>
				  </div>
				  <input type="text" class="form-control" id="inputUsername" name="inputUsername">
			  </div>
			   <br>
			  <div class="input-group mb-3">
				  <div class="input-group-prepend">
					<span class="input-group-text">密&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;码：</span>
				  </div>
				  <input type="password" class="form-control" id="inputPassword" name="inputPassword">
			  </div>
			   <br>
		
			  <div class="form-group row">
				<div class="col-md-6 offset-md-3">
				  <button type="submit" class="btn btn-outline-secondary" id="btn_submit">登录</button>
				  <button type="reset" class="btn btn-outline-secondary" id="btn_reset">重置</button>
				</div>
			  </div>
		<% } %>
		</form>
	</div>
</div>
<%- include('footer') %>